package com.neuedu.api.collection.utils;

import java.util.Comparator;

/**
 * @author 金山
 * 项目：javase
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2024/10/298:40
 */
public class RegisterComparator  implements Comparator<Register> {
    @Override
    public int compare(Register o1, Register o2) {
        //比较的规则
        return o1.getBirthday().compareTo(o2.getBirthday());
    }
}
